package com.edu.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.edu.user.domain.dto.DoctorScheduleDTO;
import com.edu.user.domain.dto.DoctorUpdateDTO;
import com.edu.user.domain.dto.DoctorUpdateInfoDTO;
import com.edu.user.domain.po.DoctorSchedule;
import com.edu.user.domain.vo.DoctorScheduleVO;
import com.edu.user.utils.Result;

import java.time.LocalDate;
import java.time.LocalTime;
import java.util.List;

public interface DoctorScheduleService extends IService<DoctorSchedule> {
    Result addDoctorSchedule(DoctorScheduleDTO scheduleDTO);

    Result selectById(Integer doctorId);

    boolean removeByscheduleId(Integer scheduleId);
    boolean isScheduleConflict(Long doctorId, LocalDate scheduleDate, LocalTime startTime, LocalTime endTime);
    Result updateDoctorSchedule(DoctorUpdateInfoDTO updateDTO);
}
